package cn.qf.first.service.Impl;

import cn.qf.first.dao.OrderMapper;
import cn.qf.first.entity.Food;
import cn.qf.first.entity.Order;
import cn.qf.first.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @date: 2021/6/21 15:49
 * @description:
 */
@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public List<Food> selectById(List<Long> food_rank) {
        return orderMapper.selectById(food_rank);
    }
}
